using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class HotRoot : MonoBehaviour
{
    public async void HotStart()
    {
        var param = new HotBooster.HotBoosterParam();
        param.loadStaticData = true;
        param.hasHotPresetPage = false;
        await HotBooster.Stuff.BoostAsync(param);
        LocalizationDriver.Load();
        BlockManager.Stuff.Touch();
        CloundSave.Stuff.Touch();


        UIEngine.Stuff.Forward<MainPage>();
        LauncherUiManager.Stuff.gameObject.SetActive(false);

        var channel = ChannelManager.Stuff.SelectedChannel;
        await channel.InitIfNeedAsync();
        DataManager.Stuff.Load();
  

        //UIEngine.Stuff.Forward<MainPage>();
    }
}
